package com.liu.community.server.impl;/*
 *@Author:Liu Xing-zhi
 *Description:
 *Date:Crated in 16:00 2021/11/25
 */

import com.liu.community.mapper.AdvertisementMapper;
import com.liu.community.pojor.Advertisement;
import com.liu.community.server.AdvertisementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdvertisementServiceImpl implements AdvertisementService {
    @Autowired
    private AdvertisementMapper advertisementMapper;
    @Override
    public Advertisement queryAdvertisementMapByPos(String pos) {
        Advertisement advertisement = advertisementMapper.queryAdvertisementMapByPos(pos);
        return advertisement;
    }
}
